/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GaoBo
 * Date: 2021-05-23
 * Time: 8:17
 */
class Person {
    public String name = "gaobo";

    public Person(String name) {
        this.name = name;
    }
}
class Student extends Person {
    public String name;
    public int age;
    public Student(String name) {
        super(name);
    }
}
public class TestDemo {
    public static void main(String[] args) {
        Student student = new Student("bit");
        student.name = "hhhh";
        System.out.println("dfsaf");
    }
}
